##
## Makefile for pud in mrcellophane/libpud/sys/NetBSD
## 
## Made by solomon hykes
## Login   <torgau@gmail.com>
## 
## Started on  Mon May 16 15:47:54 2005 solomon hykes
## Last update Sun Jun  5 02:30:08 2005 solomon hykes
##

DYN	= libpud.so
STATIC	= libpud.a
CC	= gcc
RM	= rm -fr
CFLAGS	= -I. -I../.. -g3
LDFLAGS	=

SRC	= \
	pud_alloc.c \
	pud_fork.c \
	pud_map.c \
	pud_event.c \
	pud_execution.c \
	pud_pc.c \
	pud_regs.c \
	pud_create.c \
	pud_mem.c \
	pud_save.c \
	pud_code.c

OBJ	= $(SRC:.c=.o)


$(STATIC): $(OBJ)
	ar -r $(STATIC) $(OBJ)
	ranlib $(STATIC)

clean:
	$(RM) *~ *.o *.core core

distclean: clean
	$(RM) $(STATIC) $(DYN)


re: distclean $(STATIC)

